<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>兽医列表</title>
	</head>
	<link rel="stylesheet" type="text/css" href="../user/allpage.css" >
	<link rel="stylesheet" type="text/css" href="../user/table.css" >
	<body>
		<div id="tableDiv">
			<table width="100%" border="1" align="center" class="contentTable">
				<tr>
					<td align="center">兽医ID</td>
					<td align="center">姓名</td>
					<td align="center">专长</td>
					<td align="center">地址</td>
					<td align="center">电话</td>
					<td align="center">操作</td>
				</tr>
				<c:forEach var="vet" items="${vets}">
				<tr align="center">
					<td>${vet.id}</td>
					<td>${vet.name}</td>
					<td>${vet.specialties}</td>
					<td>${vet.address}</td>
					<td>${vet.telephone}</td>
					<td>
						<a href="../servlet/VetUpdate?id=${vet.id}&type=toEdit">修改</a>/
						<a href="../servlet/VetUpdate?id=${vet.id}&type=del">删除</a>
					</td>
				</tr>
				</c:forEach>
				<tr>
					<td><a href="../servlet/VelUpdate?type=toAdd"></a></td>
				</tr>
			</table>
		</div>
	</body>
</html>
